-- GENERATED SPELL FOR [Innalia] --


function spell0_18942(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(22121,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18942', 599, 1)
end

function Sorts_18942(pUnit, Event)
local choix_sorts_18942 = math.random(0, 0)
if choix_sorts_18942 == 0 then
pUnit:RegisterEvent('spell0_18942', 1, 1)
end
end

function mob18942_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18942', math.random(1500, 3000), 1)
end

function mob18942_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18942_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18942_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18942, 1, 'mob18942_Action')
RegisterUnitEvent(18942, 2, 'mob18942_Leave')
RegisterUnitEvent(18942, 3, 'mob18942_Kill')
RegisterUnitEvent(18942, 4, 'mob18942_Die')
